<!DOCTYPE html>
<html>
<head>
    <title>Launch and reattach to long-running process</title>
    <meta charset="utf-8">
    <link href="../base1/cockpit.css" type="text/css" rel="stylesheet">
    <link href="long-running.css" type="text/css" rel="stylesheet">
    <script src="../base1/cockpit.js"></script>
    <script type="module" src="long-running-process.js"></script>
    <script type="module" src="index.js"></script>
</head>

<body>
    <div class="container-fluid">
        <p><label>State:</label> <span id="state"></span></p>
        <p><input id="command" type="text" /> <button id="run" disabled>Start</button></p>
        <pre id="output"></pre>
    </div>
</body>
</html>
